package com.macro.mall.common.enums;

import lombok.Getter;

/**
 * @author：郎
 * @name：StatusEnum
 * @date：2023/12/12 16:19
 */
@Getter
public enum StatusEnum {
    SUCCESS(1, "成功"),
    FAILURE(0, "失败");

    private final Integer code;
    private final String name;

    StatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
